VitePos_Lite\Models\Database\Mapbd_Pos_Role A

Total Complexity 53
Dependencies 2
Dependents 4
Total lines 469
Lines of code 244
Logical lines of code 126
Comment lines 181
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
set_capabilities_by_role()
S
55 7 19
set_default_role()
S
52 6 21
get_property_raw_options()
S
55 4 22
get_slug_by()
S
56 4 17
save()
S
60 4 14
get_role_list_with_capabilities()
S
60 4 13
is_admin_role()
S
65 4 9
create_db_table()
S
57 2 20
set_validation()
S
51 1 32
add_role()
S
66 3 8
get_property_options_color()
S
62 2 13
get_role_list()
S
68 2 7
get_agent_roles()
S
66 2 8
delete_by_slug()
S
69 2 7
add_role_if_not_exists()
S
67 2 7
__construct()
S
64 1 10
get_role_object_by()
S
65 1 9
is_built_in_role()
S
74 1 4
is_role_exists()
S
75 1 4